package edu.kjxy.demo0227;

public class hellojava {

	public static void main(String[] args) {
		int speed = 300000;
		int days = 365;
		long seconds = 365 * 24 * 60 * 60;
		long LightYear = speed * seconds;
		System.out.println("光一年走" + LightYear + "公里");
		
		//不加说明的整数字面值都是int类型
		long value = 946080000000000L;
		System.out.println(value);
	}

}
